home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0711.dms / q0711.adf / Graphics / Copper / Example3.c < prev    next >
Text File  |  1992-07-29  |  5KB  |  109 lines

  1. /***********************************************************/
  2. /*                                                         */
  3. /* Amiga C Encyclopedia (ACE) V3.0      Amiga C Club (ACC) */
  4. /* -------------------------------      ------------------ */
  5. /*                                                         */
  6. /* Book:    ACM Graphics                Amiga C Club       */
  7. /* Chapter: Copper                      Tulevagen 22       */
  8. /* File:    Example3.c                  181 41  LIDINGO    */
  9. /* Author:  Anders Bjerin               SWEDEN             */
  10. /* Date:    92-04-30                                       */
  11. /* Version: 1.00                                           */
  12. /*                                                         */
  13. /*   Copyright 1992, Anders Bjerin - Amiga C Club (ACC)    */
  14. /*                                                         */
  15. /* Registered members may use this program freely in their */
  16. /*     own commercial/noncommercial programs/articles.     */
  17. /*                                                         */
  18. /***********************************************************/
  19.  
  20. /* This example demonstrates how you can write a "Text Scroller"  */
  21. /* which is both using a double buffered display to create smooth */
  22. /* scrolling and our own colour copper list.                      */
  23. /*                                                                */
  24. /* The font we are using is not loaded from the disk. We have     */
  25. /* instead included it in the program code itself with help of    */
  26. /* "IncludeFont".                                                 */
  27. /*                                                                */
  28. /* This program is a nice example on how you can combine the      */
  29. /* examples and utilities in this manual to create impressive     */
  30. /* programs, games and demos.                                     */
  31. /*                                                                */
  32. /* To start the program you have to give it one argument, a file- */
  33. /* name to the text file which will be printed:                   */
  34. /*                                                                */
  35. /* Synopsis: Example3 <textfile>                                  */
  36.  
  37. /* Since this example does not load any font you can put this     */
  38. /* program on any disk and it will always run. You do not have to */
  39. /* bother about includeng the correct font. The problem with      */
  40. /* loading separate files is that you can never be sure that the  */
  41. /* files still exist. The user has maybe removed or deleted them. */
  42. /* NEVER trust the user!!!                                        */
  43. /*                                                                */
  44. /* This example consists of two modules. This is the main module  */
  45. /* and contains the program code itself. The other module is      */
  46. /* called "FontData.c" and contains all information about the     */
  47. /* font. These two modules should be compiled separately and then */
  48. /* linked together. If you have the SAS (Lattice) C Compiler you  */
  49. /* would do like this:                                            */
  50. /*   1. "lc Example3.c"                                           */
  51. /*   2. "lc FontData.c"                                           */
  52. /*   3. "blink with Example3.lnk"                                 */
  53.  
  54. I am sorry but this file is only available for registered
  55. members. 
  56.  
  57. The registration fee is only £30, $60, SEK 300, or similar
  58. amount in your own currency (price includes everything). The
  59. Amiga C Encyclopedia is the largest collection of documents,
  60. examples and utilities in C for the Amiga and it is still among
  61. the cheapest manuals. But this is not all, a registered owner
  62. will also get:
  63.  
  64.   1. Two disks containing the last parts of the encyclopedia.
  65.      The disks will be sent by first class air mail.
  66.  
  67.   2. Registration card for the Amiga C Club (ACC).
  68.  
  69.   3. Immediate information about updates.
  70.  
  71.   4. Updated versions of the encyclopedia for only the cost of
  72.      disks plus postage and packing.
  73.  
  74.   5. Assistance with digitizing colour pictures and sampling
  75.      sound effects.
  76.  
  77.   6. Unlimited help with your C programs. You never have to be
  78.      alone with your problems.
  79.  
  80.   7. The right to use parts of the manual in your own
  81.      commercial/non-commercial programs/articles.
  82.  
  83. Can any other manual give you all this???
  84.  
  85. The simplest way of paying is to include the money in a letter
  86. in cash. US dollar bills, English pounds or Swedish SEK are
  87. preferred, but all currencies are accepted. You can also send
  88. the money as a "Postal Money Order", ask your local bank or
  89. post office. Please do not use cheques. It is sadly extremely
  90. expensive to cash a foreign cheque here in Sweden.
  91.  
  92. If you live in Scandinavia you can send the money to "Svenska
  93. Post Girot, postgiro konto: 641 88 30 - 3, betalnings-
  94. mottagare: Datra".
  95.  
  96. Please send the registration fee together with your complete
  97. address to:
  98.  
  99.   Datra, Amiga C Club
  100.   Anders Bjeri
  101.   Tulevagen 22
  102.   181 41  LIDINGO
  103.   SWEDEN
  104.  
  105. I have worked for more than four years now with this
  106. encyclopedia, and with your help I can continue to improve it.
  107.  
  108. Happy programming!!!
  109.